fix the build
authorMatthias Clasen <matthiasc@src.gnome.org>
Sun, 14 Dec 2008 01:16:05 +0000 (01:16 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 14 Dec 2008 01:16:05 +0000 (01:16 +0000)
svn path=/trunk/; revision=21896

gtk/gtkfilechooserdefault.c

index 1564730ae012af22b4a22e1efc329e8ced22c338..24596ff987ab16c0c65287f7000f7d2b3fe9ca7f 100644 (file)
@@ -6929,7 +6929,7 @@ update_current_folder_get_info_cb (GCancellable *cancellable,
          /* Error and bail out, ignoring "not found" errors since they're useless:
            * they only happen when a program defaults to a folder that has been (re)moved.
            */
-          if (!g_error_matches (data->original_error, G_IO_ERROR_NOT_FOUND))
+          if (!g_error_matches (data->original_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
            error_changing_folder_dialog (impl, data->original_file, data->original_error);
           else
             g_error_free (data->original_error);